gpsbabel.git
22 years agoClean up uninitialized members in Garmin protocol.
robertl [Thu, 17 Apr 2003 22:32:42 +0000 (22:32 +0000)]
Clean up uninitialized members in Garmin protocol.

22 years agoFree more nodes on the tree when we nuke a tag. Approved by Ron.
robertl [Thu, 17 Apr 2003 05:12:11 +0000 (05:12 +0000)]
Free more nodes on the tree when we nuke a tag.   Approved by Ron.

22 years agoFree handles when done.
robertl [Thu, 17 Apr 2003 03:53:21 +0000 (03:53 +0000)]
Free handles when done.
Copy from and free jeeps structures when reading from Garmin.

22 years agoFrom Alexm. Fix mkshort uniqueness on 'anyname' and add option to suppress
robertl [Wed, 16 Apr 2003 17:27:44 +0000 (17:27 +0000)]
From Alexm.  Fix mkshort uniqueness on 'anyname' and add option to suppress
uniquification.

22 years agoFix order of time when output to let SAX2Count bless it.
robertl [Wed, 16 Apr 2003 14:24:30 +0000 (14:24 +0000)]
Fix order of time when output to let SAX2Count bless it.

23 years agoAdd current icon tables. It mystifies me why Garmin has so many different
robertl [Fri, 11 Apr 2003 17:44:09 +0000 (17:44 +0000)]
Add current icon tables.   It mystifies me why Garmin has so many different
numbers for the same tables. :-(

23 years agoAdd new Magellan models. (Gotta love a company that can keep a serial
robertl [Thu, 10 Apr 2003 03:52:02 +0000 (03:52 +0000)]
Add new Magellan models.   (Gotta love a company that can keep a serial
protocol compatible...)

23 years agoAdd urlbase to xsv format. Fix URL output when there is no URL data
robertl [Thu, 10 Apr 2003 03:47:50 +0000 (03:47 +0000)]
Add urlbase to xsv format.  Fix URL output when there is no URL data
to output.

23 years agoAllow command line arguments to xcsv-derived files.
robertl [Thu, 10 Apr 2003 03:17:13 +0000 (03:17 +0000)]
Allow command line arguments to xcsv-derived files.

23 years agoStrip quotes in S&T output.
robertl [Thu, 10 Apr 2003 01:41:15 +0000 (01:41 +0000)]
Strip quotes in S&T output.

23 years agoAdd test for Copilot. Reference file from Tomblin.
robertl [Wed, 9 Apr 2003 14:10:59 +0000 (14:10 +0000)]
Add test for Copilot.   Reference file from Tomblin.

23 years agoAdd copilot support. Courtesy Paul Tomblin.
robertl [Wed, 9 Apr 2003 13:09:36 +0000 (13:09 +0000)]
Add copilot support.   Courtesy Paul Tomblin.

23 years agoAdditional gpspilot info from Tomblin.
robertl [Mon, 7 Apr 2003 14:08:38 +0000 (14:08 +0000)]
Additional gpspilot info from Tomblin.

23 years agoAdd airport, navaid, city, and landmarks to gpspilot. Courtesy Paul Tomblin.
robertl [Sun, 6 Apr 2003 19:34:56 +0000 (19:34 +0000)]
Add airport, navaid, city, and landmarks to gpspilot.  Courtesy Paul Tomblin.

23 years agoAdd mapsource track support. Thanx, Alex!
robertl [Fri, 4 Apr 2003 22:40:39 +0000 (22:40 +0000)]
Add mapsource track support.   Thanx, Alex!

23 years agoFix gpsdrive style - 20 chars & no whitespace.
robertl [Fri, 4 Apr 2003 18:47:24 +0000 (18:47 +0000)]
Fix gpsdrive style - 20 chars & no whitespace.

23 years agoFix shortname generation.
robertl [Thu, 3 Apr 2003 17:27:38 +0000 (17:27 +0000)]
Fix shortname generation.

23 years agoTighten up word size/endianness issues.
robertl [Wed, 2 Apr 2003 17:01:02 +0000 (17:01 +0000)]
Tighten up word size/endianness issues.

23 years agoFix bounds violation. From Mottram.
robertl [Wed, 2 Apr 2003 15:37:18 +0000 (15:37 +0000)]
Fix bounds violation.   From Mottram.

23 years agoAdd route handling for magproto, mapsend, GPX. Thanx, Alex Mottram!
robertl [Tue, 1 Apr 2003 03:21:24 +0000 (03:21 +0000)]
Add route handling for magproto, mapsend, GPX.    Thanx, Alex Mottram!

23 years agoAdd magelan route examples. From P. Roosen.
robertl [Mon, 31 Mar 2003 02:43:11 +0000 (02:43 +0000)]
Add magelan route examples.   From P. Roosen.

23 years agoAdded track handling to GPX. Thanx, Alex!
robertl [Thu, 13 Mar 2003 22:33:52 +0000 (22:33 +0000)]
Added track handling to GPX.   Thanx, Alex!

23 years agoRestore tiger from v. 1.9.
robertl [Thu, 13 Mar 2003 17:46:22 +0000 (17:46 +0000)]
Restore tiger from v. 1.9.

23 years agoMake comments match current reality.
robertl [Wed, 12 Mar 2003 16:34:25 +0000 (16:34 +0000)]
Make comments match current reality.

23 years agoAdd time and date when writing magellan tracks. Add leading zeros to match
robertl [Wed, 12 Mar 2003 16:25:46 +0000 (16:25 +0000)]
Add time and date when writing magellan tracks.  Add leading zeros to match
the SD output.

23 years agoAdd xmapwpt.style back in. Exclude custom stye. Thanx, Alex Mottram!
robertl [Sat, 8 Mar 2003 22:51:32 +0000 (22:51 +0000)]
Add xmapwpt.style back in.   Exclude custom stye.   Thanx, Alex Mottram!

23 years agoRever tiger back to C version. It isn't *really* a CSV after all.
robertl [Sat, 8 Mar 2003 05:31:20 +0000 (05:31 +0000)]
Rever tiger back to C version.  It isn't *really* a CSV after all.

23 years agoAllow escaping of comment char.
robertl [Sat, 8 Mar 2003 03:43:55 +0000 (03:43 +0000)]
Allow escaping of comment char.

23 years agoFix typo in restaurant.
robertl [Fri, 7 Mar 2003 19:15:29 +0000 (19:15 +0000)]
Fix typo in restaurant.
Fix mappings for icon #'s > 'z'.  Thanx, Vito.

23 years agoZero field counter between records. Cures bounds violation when more
robertl [Fri, 7 Mar 2003 06:13:09 +0000 (06:13 +0000)]
Zero field counter between records.   Cures bounds violation when more
than about 50 records are shot in.

23 years agoTypo fix.
robertl [Tue, 4 Mar 2003 17:39:53 +0000 (17:39 +0000)]
Typo fix.

23 years agoAdd leak tools from Parker.
robertl [Tue, 4 Mar 2003 17:38:53 +0000 (17:38 +0000)]
Add leak tools from Parker.

23 years agoFrom Mottram:
robertl [Tue, 4 Mar 2003 17:35:50 +0000 (17:35 +0000)]
From Mottram:

pulls xmapwpt format into xcsv internal styles
fixes mkshort usage in xcsv
resolves memory issues with xcsv
updates a few style files and documentation for mkshort parameters

From Parker:

leaks/{clear,mem}debug scripts; callable from 'make leaktest'

CVSm ----------------------------------------------------------------------

23 years agoAdd dbname option to cetus and gpspilot. From Ron Parker.
robertl [Tue, 4 Mar 2003 17:12:19 +0000 (17:12 +0000)]
Add dbname option to cetus and gpspilot.   From Ron Parker.

23 years agobump version
robertl [Sun, 2 Mar 2003 03:26:26 +0000 (03:26 +0000)]
bump version

23 years agoBe less aggressive in rebuilding internal styles.
robertl [Sun, 2 Mar 2003 03:23:20 +0000 (03:23 +0000)]
Be less aggressive in rebuilding internal styles.

23 years agoBump version for beta.
robertl [Sun, 2 Mar 2003 03:14:00 +0000 (03:14 +0000)]
Bump version for beta.

23 years agoBring in the changes to "finish" the XCSV stuff. This preprocesses the
robertl [Sun, 2 Mar 2003 01:41:45 +0000 (01:41 +0000)]
Bring in the changes to "finish" the XCSV stuff.  This preprocesses the
style directory and compiles it intot he binary, eliminating the *need*
(but keeping the *option*) of external style files.  It makes the style
entries look like first class citizens, showing up in help, menu option
output, and such.

This is the result of some ping-ponging with Alex...

: Modified Files:
:  Makefile csv_util.h defs.h gcdb.c internal_styles.c mkstyle.sh
:  vecs.c xcsv.c style/README.style style/csv.style
:  style/custom.style style/dna.style style/gpsdrive.style
:  style/gpsman.style style/mxf.style style/nima.style
:  style/ozi.style style/s_and_t.style style/tiger.style
:  style/xmap.style
: Removed Files:
:  csv.c dna.c gpsman.c mxf.c ozi.c tiger.c

23 years agoFrom Ron Parker:
robertl [Thu, 27 Feb 2003 19:06:19 +0000 (19:06 +0000)]
From Ron Parker:
1) upgrades the XML time parser to be more robust.  It now recognizes and
   correctly parses non-Zulu timestamps and timestamps with fractional
   seconds (which are truncated rather than rounded, but a motivated coder
   with time on his hands could change that.)
2) adds a field "exported" to struct geocache_data and fills it in with
   the appropriate value (the value from the groundspeak:exported tag on
   the waypoint if one exists, else the timestamp from the gpx/time element.)
3) adds (or replaces) the groundspeak:exported tag on output for any waypoint
   that contains a groundspeak:cache element.
4) adds the gpx/time element to any output GPX file, using the current time.
5) modifies the duplicate filter to prefer throwing away waypoints with older
   or unspecified "exported" dates over those with newer dates.

23 years agoSketch in what trackpoint writing might look like...
robertl [Tue, 25 Feb 2003 23:17:06 +0000 (23:17 +0000)]
Sketch in what trackpoint writing might look like...

23 years agoMention -x in usage.
robertl [Tue, 25 Feb 2003 21:17:51 +0000 (21:17 +0000)]
Mention -x in usage.

23 years agoFix tests for polarity of coords on output.
robertl [Tue, 25 Feb 2003 19:04:45 +0000 (19:04 +0000)]
Fix tests for polarity of coords on output.

23 years agoMagnav shortnames are really 9 bytes, not 20, per Gary Paulson.
robertl [Mon, 24 Feb 2003 18:31:56 +0000 (18:31 +0000)]
Magnav shortnames are really 9 bytes, not 20, per Gary Paulson.

23 years agoMapsend: support icon #'s above 26.
robertl [Sun, 23 Feb 2003 23:08:00 +0000 (23:08 +0000)]
Mapsend: support icon #'s above 26.
GPX: Don't trigger on names of travel bugs.

23 years agoFix warning.
robertl [Sun, 23 Feb 2003 01:24:11 +0000 (01:24 +0000)]
Fix warning.

23 years agoGeo geocache icon mappings on input.
robertl [Sun, 23 Feb 2003 01:23:40 +0000 (01:23 +0000)]
Geo geocache icon mappings on input.

23 years agolast_rx_csum is unsigned.
robertl [Sun, 23 Feb 2003 01:22:51 +0000 (01:22 +0000)]
last_rx_csum is unsigned.

23 years ago(Blindly) Add shortname support to magnav.
robertl [Fri, 21 Feb 2003 14:42:06 +0000 (14:42 +0000)]
(Blindly) Add shortname support to magnav.

23 years agoAdd deficon, geocache icon generation capabilities, and lookup of icons
robertl [Thu, 20 Feb 2003 15:55:05 +0000 (15:55 +0000)]
Add deficon, geocache icon generation capabilities, and lookup of icons
from mapsource tables.

23 years agoAdd full icon mapping table for >4.07 mapsource. From Ken Leidner.
robertl [Thu, 20 Feb 2003 15:53:34 +0000 (15:53 +0000)]
Add full icon mapping table for >4.07 mapsource.  From Ken Leidner.

23 years agomove cache type -> icon recognition into common code.
robertl [Thu, 20 Feb 2003 15:44:05 +0000 (15:44 +0000)]
move cache type -> icon recognition into common code.

23 years agoUse more language-conformant string concatenation.
robertl [Tue, 18 Feb 2003 19:44:35 +0000 (19:44 +0000)]
Use more language-conformant string concatenation.

23 years agoUpdate version to 2/12
robertl [Wed, 12 Feb 2003 22:43:19 +0000 (22:43 +0000)]
Update version to 2/12

23 years agoAdd scaffolding for internalizing styles.
robertl [Wed, 12 Feb 2003 17:08:40 +0000 (17:08 +0000)]
Add scaffolding for internalizing styles.

23 years agoMechanically hoist line parsing into function of its own.
robertl [Wed, 12 Feb 2003 15:58:57 +0000 (15:58 +0000)]
Mechanically hoist line parsing into function of its own.

23 years agoAdd gsshortnames option to GPX input.
robertl [Wed, 12 Feb 2003 15:16:39 +0000 (15:16 +0000)]
Add gsshortnames option to GPX input.

23 years agoFix up filter wreckage I introduced with new arg parsing. From Mottram.
robertl [Wed, 12 Feb 2003 03:45:22 +0000 (03:45 +0000)]
Fix up filter wreckage I introduced with new arg parsing.  From Mottram.

23 years agoMultitude of memory "leaks" fixed. From Ron Parker.
robertl [Tue, 11 Feb 2003 19:47:45 +0000 (19:47 +0000)]
Multitude of memory "leaks" fixed.   From Ron Parker.

23 years agoFix formatting of extended help.
robertl [Mon, 10 Feb 2003 21:37:40 +0000 (21:37 +0000)]
Fix formatting of extended help.
Fix csv so prefer_shortnames appears in appropriate table.

23 years agoHash and compare are now case insenstitive - this is to compensate for
robertl [Mon, 10 Feb 2003 19:47:29 +0000 (19:47 +0000)]
Hash and compare are now case insenstitive - this is to compensate for
mapsource which will not let you have both ThisName and Thisname.

23 years agoproto xrealloc.
robertl [Mon, 10 Feb 2003 19:46:34 +0000 (19:46 +0000)]
proto xrealloc.

23 years agoAllow shortnmae length to be overridden on command line.
robertl [Mon, 10 Feb 2003 19:36:25 +0000 (19:36 +0000)]
Allow shortnmae length to be overridden on command line.

23 years agoCreate a shortname when we don't have one.
robertl [Mon, 10 Feb 2003 19:20:06 +0000 (19:20 +0000)]
Create a shortname when we don't have one.

23 years agoFilter test. Thanx, Alex.
robertl [Fri, 7 Feb 2003 23:17:21 +0000 (23:17 +0000)]
Filter test.   Thanx, Alex.

23 years agoFix from Alex to deal with how I broke his code merging the new option
robertl [Fri, 7 Feb 2003 17:22:10 +0000 (17:22 +0000)]
Fix from Alex to deal with how I broke his code merging the new option
handlers.

23 years agoBump version number.
robertl [Fri, 7 Feb 2003 08:22:53 +0000 (08:22 +0000)]
Bump version number.

23 years agoConvert duplicate, csv to use new arg scheme. Fix formatting in vecs.
robertl [Fri, 7 Feb 2003 08:22:18 +0000 (08:22 +0000)]
Convert duplicate, csv to use new arg scheme.  Fix formatting in vecs.

23 years agoTypo fixes.
robertl [Fri, 7 Feb 2003 07:37:17 +0000 (07:37 +0000)]
Typo fixes.

23 years agoAdd missing protos.
robertl [Fri, 7 Feb 2003 07:31:02 +0000 (07:31 +0000)]
Add missing protos.

23 years agoAdd dropped file.
robertl [Fri, 7 Feb 2003 07:28:22 +0000 (07:28 +0000)]
Add dropped file.

23 years agoAdd filter infrastructure plus two filters for name and position.
robertl [Fri, 7 Feb 2003 07:27:20 +0000 (07:27 +0000)]
Add filter infrastructure plus two filters for name and position.
Thanx, Alex!

23 years agoAdd new 'arglist' stuff so that file formats with options can be seen
robertl [Fri, 7 Feb 2003 07:24:23 +0000 (07:24 +0000)]
Add new 'arglist' stuff so that file formats with options can be seen
in the help message.

23 years agoHandle micro caches as icons.
robertl [Thu, 6 Feb 2003 23:49:44 +0000 (23:49 +0000)]
Handle micro caches as icons.

23 years agoAdd code to get container type from groundspeak extensions to GPX.
robertl [Thu, 6 Feb 2003 23:48:35 +0000 (23:48 +0000)]
Add code to get container type from groundspeak extensions to GPX.

23 years agoMake slightly more C++ friendly.
robertl [Mon, 27 Jan 2003 18:00:44 +0000 (18:00 +0000)]
Make slightly more C++ friendly.

23 years agoMore correct handling of CSIZE, even though this is totally a sugar
robertl [Mon, 27 Jan 2003 17:19:46 +0000 (17:19 +0000)]
More correct handling of CSIZE, even though this is totally a sugar
pill with our settings...

23 years agoBump the beta number.
robertl [Sat, 25 Jan 2003 20:08:45 +0000 (20:08 +0000)]
Bump the beta number.

23 years agoAdd case insensitive searches on both GPX reads and magproto icon lookups.
robertl [Sat, 25 Jan 2003 20:07:55 +0000 (20:07 +0000)]
Add case insensitive searches on both GPX reads and magproto icon lookups.

23 years agoFix from Rick.
robertl [Sat, 25 Jan 2003 19:20:14 +0000 (19:20 +0000)]
Fix from Rick.

23 years agoFrom Rick Richardson:
robertl [Sat, 25 Jan 2003 18:55:28 +0000 (18:55 +0000)]
From Rick Richardson:

This patch adds a proper usage message (although the wording
may need to be fixed), more standards-like option parsing,
and the ability to specify the input and output files as positional
parameters rather than options.

23 years agoWhack newline from icons when read.
robertl [Sat, 25 Jan 2003 18:21:28 +0000 (18:21 +0000)]
Whack newline from icons when read.

23 years agoAdd (crude) install target.
robertl [Fri, 24 Jan 2003 16:52:42 +0000 (16:52 +0000)]
Add (crude) install target.

23 years agoupdate deps.
robertl [Fri, 24 Jan 2003 16:48:22 +0000 (16:48 +0000)]
update deps.

23 years agoMake comparisons fatal, make it easier to override diff.
robertl [Wed, 22 Jan 2003 21:15:31 +0000 (21:15 +0000)]
Make comparisons fatal, make it easier to override diff.

23 years agoTrim some unused jeeps stuff from the default build.
robertl [Wed, 22 Jan 2003 15:44:13 +0000 (15:44 +0000)]
Trim some unused jeeps stuff from the default build.

23 years agoAdd GeocachingDB input and output module.
robertl [Wed, 22 Jan 2003 03:35:29 +0000 (03:35 +0000)]
Add GeocachingDB input and output module.

23 years agoAdd xrealloc, xstrappend.
robertl [Wed, 22 Jan 2003 03:12:46 +0000 (03:12 +0000)]
Add xrealloc, xstrappend.
Fix typo in be_read16.

23 years agoDon't use 57.6 and 115.2 if we don't have them.
robertl [Wed, 22 Jan 2003 02:53:24 +0000 (02:53 +0000)]
Don't use 57.6 and 115.2 if we don't have them.

23 years agogpspilot.c magnav.c : use waypt_disp_all instead of explicit loop.
robertl [Tue, 21 Jan 2003 15:47:44 +0000 (15:47 +0000)]
gpspilot.c magnav.c : use waypt_disp_all instead of explicit loop.

23 years agoAdd icon on input and output, bump name to 20 chars.
robertl [Tue, 21 Jan 2003 14:35:12 +0000 (14:35 +0000)]
Add icon on input and output, bump name to 20 chars.

23 years agoicon is spelled sym, not icon.
robertl [Tue, 21 Jan 2003 14:24:50 +0000 (14:24 +0000)]
icon is spelled sym, not icon.

23 years agoZero our allocated struct.
robertl [Tue, 21 Jan 2003 14:13:26 +0000 (14:13 +0000)]
Zero our allocated struct.

23 years agoAdd/finish setshort_mustuniq. Fixes holux in testsuite runs.
robertl [Tue, 21 Jan 2003 02:44:28 +0000 (02:44 +0000)]
Add/finish setshort_mustuniq.  Fixes holux in testsuite runs.

23 years agoWe need a shorthandle for both read and write.
robertl [Mon, 20 Jan 2003 20:11:53 +0000 (20:11 +0000)]
We need a shorthandle for both read and write.

23 years agoNo whitespace allowed in shortname for gpsdrive.
robertl [Mon, 20 Jan 2003 18:46:39 +0000 (18:46 +0000)]
No whitespace allowed in shortname for gpsdrive.

23 years agoHonor -s shortnames for output.
robertl [Mon, 20 Jan 2003 18:09:28 +0000 (18:09 +0000)]
Honor -s shortnames for output.

23 years agoWarning cleanup. Bump internal version # for popp beta.
robertl [Mon, 20 Jan 2003 02:46:33 +0000 (02:46 +0000)]
Warning cleanup.  Bump internal version # for popp  beta.

23 years agoGPX: Preserve icons on the way in and out.
robertl [Mon, 20 Jan 2003 02:43:58 +0000 (02:43 +0000)]
GPX: Preserve icons on the way in and out.

23 years agoMapsend: Preserve icons on the way in and out.
robertl [Mon, 20 Jan 2003 02:43:32 +0000 (02:43 +0000)]
Mapsend: Preserve icons on the way in and out.

23 years agointroduce shortname handles in all file formats.
robertl [Sun, 19 Jan 2003 22:16:12 +0000 (22:16 +0000)]
introduce shortname handles in all file formats.
Make -s rename duplicate generated shortnames.